.pandect {
  position: relative;
  background: url("../../assets/img/pandect/bg.png") no-repeat;
  background-size: 1200px 675px;
  background-position: center bottom;
  height: 100%;
  .top-row {
    position: relative;
    display: flex;
    height: 300px;
    justify-content: space-between;
    .equipmentOnline{
      flex: 1 0 0;
      height:100%;
    }
    .awards {
      width:650px;
      flex: 650px 0 0;
      height: 100%;
      margin: 0 30px;
      .awards-details {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        .awards-item{
          width: 310px;
          height: 130px;
          margin-right:10px;
          display: flex;
          flex-direction: column;
          padding: 18px 0 10px 29px;
          background: url("../../assets/img/pandect/num-bg.png") no-repeat;
          background-size: 100% 100%;
          margin-bottom: 10px;
          &:nth-child(2n){
            margin-right: 0;
          }
          .award-content{
            display: flex;
            flex: 1 0 0;
            align-items: flex-end;
          }
        }
        .award-icon{
          display: block;
          height: 40px;
          width: auto;
          margin-right: 10px;
        }
        .award-title{
          margin-bottom: 15px;
          font-size: 20px;
          color: #a8adc9;
        }
        .awards-times {
          display: inline-block;
          background: url("../../assets/img/pandect/num-icon5.png") no-repeat;
          background-size: 100% 100%;
          margin-right: 4px;
          font-size: 50px;
          line-height: 50px;
          padding: 0 2px;
          color: #ffffff;
          text-align: center;
        }
      }
    }
    .access {
      height:100%;
     flex: 1 0 0;
    }
  }
  .wrap {
    position: relative;
    padding: 20px 30px;
    color: #a8adc9;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    box-sizing: border-box;
    .wrap-content {
      position: relative;
      height: calc(100% - 18px);
    }
  }
  .equipmentOnline {
    .equipment-total {
      position: absolute;
      top: 36%;
      left: 14%;
      text-align: center;
      font-size: 16px;
      color: #a8adc9;
      @media screen and (min-width:3000px) {
        left: 16%;
      }
      div:first-child {
        font-size: 30px;
        color: #fff;
        font-weight: bold;
      }
    }
  }
  .access {
    .access-statistics {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
      .access-statistics-item {
        width: 140px;
        height: 50px;
        text-align: center;
        border-radius: 60px;
        background: rgba(7, 214, 140, 0.14);
        border: 1px solid rgba(7, 214, 140, 0.5);
        font-size: 14px;
        color: rgba(6, 210, 193, 1);
        div:first-child {
          font-size: 20px;
          color: #fff;
        }
        &:first-child {
          background: rgba(231, 104, 255, 0.14);
          border: 1px solid rgba(231, 104, 255, 0.5);
          div:last-child {
            color: #fd3b73;
          }
        }
        &:last-child {
          background: rgba(253, 59, 115, 0.14);
          border: 1px solid rgba(253, 59, 115, 0.5);
          div:last-child {
            color: #e768ff;
          }
        }
      }
    }
    .access-chartPie {
      height: calc(100% - 50px);
    }
  }
  .pandect-two {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    height: 620px;
    margin-top: 20px;
    &>div:nth-child(2){
      width: 650px;
      margin: 0 30px;
    }
    &>div:not(:nth-child(2)){
      flex: 1;
    }
    .campus {
      padding-bottom: 0;
      height: 100%;
      /deep/.el-carousel--horizontal {
        overflow-x: unset;
      }
      .el-carousel {
        height: 100%;
        padding-top: 20px;
        /deep/.el-carousel__container {
          height: 100%;
          overflow-x: hidden;
        }
        /deep/.el-carousel__indicator--horizontal .el-carousel__button {
          width: 6px;
          height: 6px;
          padding: 0;
          margin-right: 10px;
          background: rgba(89, 86, 159, 1);
          border-radius: 50%;
        }
        /deep/.el-carousel__indicators--horizontal {
          bottom: unset;
          top: -25px;
        }
      }
      .campus-item {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        // padding: 20px;
        & > div {
          width: 248px;
          height: 170px;
          border-radius: 5px;
          background: rgba(69, 77, 156, 0.2);
          border: 2px solid rgba(69, 77, 156, 1);
        }
        .campus-name {
          display: flex;
          justify-content: space-around;
          height: 16px;
          line-height: 16px;
          margin: 8px 0;
          color: #a8adc9;
          font-size: 14px;
          img {
            width: 18px;
            height: 16px;
          }
        }
        .campus-url {
          height: calc(100% - 34px);
          padding: 0 2px;
          img {
            width: 100%;
            height: 100%;
          }
        }
      }
    }
    .consumption,
    .equipmentType {
      height: 300px;
    }
    .equipmentType {
      .wrap-content {
        padding: 30px 0 20px 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        & > div {
          display: flex;
          width: 160px;
          height: 90px;
          align-items: center;
          background: #141a30;
          margin-right: 10px;
          img {
            width: 28px;
            height: 28px;
            margin: 0 10px;
          }
          p {
            &:first-child {
              font-size: 12px;
              margin-bottom: 5px;
            }
            &:last-child {
              color: #06d2c1;
              span {
                &:first-child {
                  font-size: 28px;
                  margin-right: 5px;
                }
                &:last-child {
                  font-size: 16px;
                }
              }
            }
          }
        }
      }
    }
    .consumption {
      .wrap-content {
        display: flex;
        .left-content {
          width: 130px;
          border-right: 1px solid #48476a;
          display: flex;
          flex-direction: column;
          justify-content: space-around;
          height: 60%;
          margin: auto;
          & > div {
            p {
              &:first-child {
                font-size: 16px;
                color: #a8adc9;
                margin-bottom: 5px;
              }
              &:last-child {
                font-size: 24px;
                color: #ffa366;

                .times {
                  font-size: 14px;
                  margin-left: 5px;
                }
              }
            }
          }
        }
        .right-content {
          flex: 1;
          height: 100%;
        }
      }
    }
    .equipmentType {
      margin-bottom: 20px;
    }
  }
}